//
//  XFCaseFileCell.m
//  名医通
//
//  Created by mr.zhou on 16/7/11.
//  Copyright © 2016年 mr.zhou. All rights reserved.
//

#import "XFCaseFileCell.h"
#import "XFCaseFileModel.h"

@interface XFCaseFileCell ()

@property (weak, nonatomic) IBOutlet UILabel *caseNameLabel;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end

@implementation XFCaseFileCell


- (void)setCaseFile:(XFCaseFileModel *)caseFile {

    _caseFile = caseFile;
    
    self.caseNameLabel.text = [NSString stringWithFormat:@"%@病例",caseFile.caseName];
    
    self.timeLabel.text = caseFile.time;
    
    self.iconView.image = [UIImage imageNamed:caseFile.icon];

}

- (void)awakeFromNib {
    [super awakeFromNib];


}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
